home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / smalltalk.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  2KB  |  79 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <!-- Smalltalk mode, by Marcio Marchini mqm@magma.ca -->
  6.  
  7. <MODE>
  8.     <PROPS>
  9.         <PROPERTY NAME="commentStart" VALUE=""" />
  10.         <PROPERTY NAME="commentEnd" VALUE=""" />
  11.         <PROPERTY NAME="indentOpenBrackets" VALUE="[" />
  12.         <PROPERTY NAME="indentCloseBrackets" VALUE="]" />
  13.  
  14.     </PROPS>
  15.     <RULES IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">
  16.         <!-- Standard literals -->
  17.         <SPAN TYPE="LITERAL1" ESCAPE="\" NO_LINE_BREAK="FALSE">
  18.             <BEGIN>'</BEGIN>
  19.             <END>'</END>
  20.         </SPAN>
  21.  
  22.         <SPAN TYPE="COMMENT1">
  23.             <BEGIN>"</BEGIN>
  24.             <END>"</END>
  25.         </SPAN>
  26.  
  27.         <SEQ TYPE="OPERATOR">:=</SEQ>
  28.         <SEQ TYPE="OPERATOR">_</SEQ>
  29.         <SEQ TYPE="OPERATOR">=</SEQ>
  30.         <SEQ TYPE="OPERATOR">==</SEQ>
  31.         <SEQ TYPE="OPERATOR">></SEQ>
  32.         <SEQ TYPE="OPERATOR"><</SEQ>
  33.         <SEQ TYPE="OPERATOR">>=</SEQ>
  34.         <SEQ TYPE="OPERATOR"><=</SEQ>
  35.         <SEQ TYPE="OPERATOR">+</SEQ>
  36.         <SEQ TYPE="OPERATOR">-</SEQ>
  37.         <SEQ TYPE="OPERATOR">/</SEQ>
  38.         <SEQ TYPE="OPERATOR">*</SEQ>
  39.  
  40.         <MARK_PREVIOUS TYPE="KEYWORD3" MATCH_TYPE="OPERATOR">:</MARK_PREVIOUS>
  41.         <MARK_FOLLOWING TYPE="LABEL" MATCH_TYPE="OPERATOR">#</MARK_FOLLOWING>
  42.         <MARK_FOLLOWING TYPE="LITERAL1" MATCH_TYPE="OPERATOR">$</MARK_FOLLOWING>
  43.  
  44.  
  45.         <KEYWORDS>
  46.             <!-- Constants -->
  47.             <KEYWORD1>true</KEYWORD1>
  48.             <KEYWORD1>false</KEYWORD1>
  49.             <KEYWORD1>nil</KEYWORD1>
  50.  
  51.             <!-- Reserved identifiers -->
  52.             <KEYWORD2>self</KEYWORD2>
  53.             <KEYWORD2>super</KEYWORD2>
  54.  
  55.             <!-- not really keywords, but a different color works well-->
  56.             <KEYWORD3>isNil</KEYWORD3>
  57.             <KEYWORD3>not</KEYWORD3>
  58.  
  59.             <!-- not really -->
  60.             <LITERAL2>Smalltalk</LITERAL2>
  61.             <LITERAL2>Transcript</LITERAL2>
  62.  
  63.             <!-- base classes -->
  64.             <LITERAL2>Date</LITERAL2>
  65.             <LITERAL2>Time</LITERAL2>
  66.             <LITERAL2>Boolean</LITERAL2>
  67.             <LITERAL2>True</LITERAL2>
  68.             <LITERAL2>False</LITERAL2>
  69.             <LITERAL2>Character</LITERAL2>
  70.             <LITERAL2>String</LITERAL2>
  71.             <LITERAL2>Array</LITERAL2>
  72.             <LITERAL2>Symbol</LITERAL2>
  73.             <LITERAL2>Integer</LITERAL2>
  74.             <LITERAL2>Object</LITERAL2>
  75.  
  76.         </KEYWORDS>
  77.     </RULES>
  78. </MODE>
  79.